package sample8;

public class Main {
	
	public static void main(String[] args) {
		Car car1 = new Car(1234,20.5);
		showPropeties(car1);
		Person person1 = new Person(25,"山田太郎");
		
		showPropeties(person1);
		
	}
	
	static void showPropeties(Propeties propeties){
		propeties.toPropeties();
	}
}
